<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATEntity/ATEntityUtil.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_32d1a4de335e5ced5844dde092c4c20f.html">ATEntity</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATEntityUtil.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d2/d54/_a_t_entity_util_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>BEGIN_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="keyword">struct </span>EdgeToCurveIdMap : xmap &lt;UInt32, BasicCurveIdCP&gt; { };</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="../../de/d43/struct_p_entity_utl.html">   19</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../de/d43/struct_p_entity_utl.html">PEntityUtl</a></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>{</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="../../de/d43/struct_p_entity_utl.html#a036d99bf9a2d702fefee78af0eb64582">   33</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../de/d43/struct_p_entity_utl.html#a036d99bf9a2d702fefee78af0eb64582">EntityToCurveSets</a>(xvector&lt;CurveSetPtr&gt;&amp; curves, ISolidCoreEntityCR entity, EdgeToCurveIdMap <span class="keyword">const</span>* idMap = NULL);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>};</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html">   41</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../d7/ddd/struct_entity_utl.html">EntityUtl</a></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>{</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a4b479f64ddd61a4e90b6398923313feb">   54</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a4b479f64ddd61a4e90b6398923313feb">CopyEntity</a>(ISolidCoreEntityPtr&amp; out, ISolidCoreEntityCR in);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a504dc86e17dde14bec63d1df7852368d">   67</a></span>    ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a504dc86e17dde14bec63d1df7852368d">GetEntityFaces</a>(xvector&lt;ISubEntityPtr&gt;* subEntities, ISolidCoreEntityCR in);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a60466b875b76e83f5c628601f64015b6">   80</a></span>    ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a60466b875b76e83f5c628601f64015b6">GetEntityEdges</a>(xvector&lt;ISubEntityPtr&gt;* subEntities, ISolidCoreEntityCR in);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#ad2a2899f4c5c57919cf35582bdc897bd">   93</a></span>    ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#ad2a2899f4c5c57919cf35582bdc897bd">GetEntityVertices</a>(xvector&lt;ISubEntityPtr&gt;* subEntities, ISolidCoreEntityCR in);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a3233c8b77f0f7af85916345a892a0901">  106</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a3233c8b77f0f7af85916345a892a0901">GetFaceEdges</a>(xvector&lt;ISubEntityPtr&gt;&amp; subEntities, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a6cd3bbfe9ee20d2386811d1ce48e10fc">  119</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a6cd3bbfe9ee20d2386811d1ce48e10fc">GetFaceVertices</a>(xvector&lt;ISubEntityPtr&gt;&amp; subEntities, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#aaea4816a552706d08fe1a06f25a57b75">  132</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#aaea4816a552706d08fe1a06f25a57b75">GetEdgeFaces</a>(xvector&lt;ISubEntityPtr&gt;&amp; subEntities, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a81dc927623130b345708667f2efd9a38">  145</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a81dc927623130b345708667f2efd9a38">GetEdgeVertices</a>(xvector&lt;ISubEntityPtr&gt;&amp; subEntities, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a40e915da5a598e0814b5f901bff8090f">  158</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a40e915da5a598e0814b5f901bff8090f">GetVertexFaces</a>(xvector&lt;ISubEntityPtr&gt;&amp; subEntities, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#abed9d09f9989e50d33bd8eb741bd9905">  171</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#abed9d09f9989e50d33bd8eb741bd9905">GetVertexEdges</a>(xvector&lt;ISubEntityPtr&gt;&amp; subEntities, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a47b922f98bd60e9d808835be7fc71b66">  188</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a47b922f98bd60e9d808835be7fc71b66">EvaluateFace</a>(ISubEntityCR subEntity, XPoint3dR point, XVec3dR normal, XVec3dR uDir, XVec3dR vDir, XPoint2dCR uvParam);</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a1a72e8d989f4e223b579cf884f385e49">  203</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a1a72e8d989f4e223b579cf884f385e49">EvaluateEdge</a>(ISubEntityCR subEntity, XPoint3dR point, XVec3dR uDir, <span class="keywordtype">double</span> uParam);</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a2cefd334f812e31a46b937cd3808ff43">  216</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a2cefd334f812e31a46b937cd3808ff43">EvaluateVertex</a>(ISubEntityCR subEntity, XPoint3dR point);</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a8d16ac1ee690eb611dd735f7b95e5d2e">  230</a></span>    ATENTITY_EXP <span class="keyword">static</span> ATECStatus <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a8d16ac1ee690eb611dd735f7b95e5d2e">GetPlanarFaceData</a>(XPoint3dP point, XVec3dP normal, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#aa2168d35520dc0e6178e2f2ad7b7b745">  250</a></span>    ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#aa2168d35520dc0e6178e2f2ad7b7b745">Locate</a>(ISolidCoreEntityCR entity, XRay3dCR boresite, xvector&lt;ISubEntityPtr&gt;&amp; intersectEntities, xvector&lt;XPoint3d&gt;&amp; intersectPts, xvector&lt;XPoint2d&gt;&amp; intersectParams, <span class="keywordtype">size_t</span> maxFace, <span class="keywordtype">size_t</span> maxEdge, <span class="keywordtype">size_t</span> maxVertex, <span class="keywordtype">double</span> maxDist);</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span> </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a0cbbbdb47f0df3ba2257b85bffbeeb0e">  263</a></span>    ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a0cbbbdb47f0df3ba2257b85bffbeeb0e">IsPointInsideEntity</a>(ISolidCoreEntityCR entity, XPoint3dCR testPt);</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"><a class="line" href="../../d7/ddd/struct_entity_utl.html#a00df2233cead0827613b09f5f91d8adf">  277</a></span>    ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/ddd/struct_entity_utl.html#a00df2233cead0827613b09f5f91d8adf">RayTestFace</a>(ISubEntityCR subEntity, XRay3dCR boresite, xvector&lt;XPoint3d&gt;&amp; intersectPts, xvector&lt;XPoint2d&gt;&amp; intersectParams);</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span> </div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span>    <span class="keyword">struct </span>Create</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span>    {</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromCurveSet(ISolidCoreEntityPtr&amp; out, CurveSetCR curve, ATSceneRefR scene);</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span> </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromBaseSolid(ISolidCoreEntityPtr&amp; out, IBaseSolidCR primitive, ATSceneRefR scene);</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span> </div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromBspSurface(ISolidCoreEntityPtr&amp; out, ATBsplineSurfaceCR surface, ATSceneRefR scene);</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span> </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromPolyface(ISolidCoreEntityPtr&amp; out, HPolyfaceMeshCR meshData, ATSceneRefR scene);</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno">  336</span> </div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromLoft(ISolidCoreEntityPtr&amp; out, CurveSetPtr* profiles, <span class="keywordtype">size_t</span> nProfiles, CurveSetPtr* guides, <span class="keywordtype">size_t</span> nGuides, ATSceneRefR scene, <span class="keywordtype">bool</span> periodic = <span class="keyword">false</span>, <span class="keywordtype">bool</span> segment = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span> </div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromSweep(ISolidCoreEntityPtr&amp; out, CurveSetCR profile, CurveSetCR path, ATSceneRefR scene, <span class="keywordtype">bool</span> alignParallel, <span class="keywordtype">bool</span> selfRepair, <span class="keywordtype">bool</span> createSheet, XVec3dCP lockDirection = NULL, <span class="keywordtype">double</span> <span class="keyword">const</span>* twistAngle = NULL, <span class="keywordtype">double</span> <span class="keyword">const</span>* scale = NULL, XPoint3dCP scalePoint = NULL);</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span> </div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityFromExtrudeToEntity(ISolidCoreEntityPtr&amp; out, ISolidCoreEntityCR extrudeTo, ISolidCoreEntityCR profile, <span class="keywordtype">bool</span> reverseDirection);</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span>    };</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span> </div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>    <span class="keyword">struct </span>Convert</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span>    {</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus ObjectToEntity(ISolidCoreEntityPtr&amp; out, HATObjectCR objHd, <span class="keywordtype">bool</span> getSolid = <span class="keyword">true</span>, <span class="keywordtype">bool</span> getSheet = <span class="keyword">true</span>, <span class="keywordtype">bool</span> getWire = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span> </div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno">  427</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus ObjectToEntitys(xvector&lt;ISolidCoreEntityPtr&gt;&amp; out, <span class="keywordtype">bool</span>* hasMissingGeom, HATObjectCR objHd, <span class="keywordtype">bool</span> getSolids = <span class="keyword">true</span>, <span class="keywordtype">bool</span> getSheets = <span class="keyword">true</span>, <span class="keywordtype">bool</span> getWires = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno">  428</span> </div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus EntityToObject(HEATObjectR objHE, ISolidCoreEntityCR entity, HATObjectCP tempHd, ATSceneRefR SceneRef);</div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span> </div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SubEntityToGeometry(IGeometryPtr&amp; geom, ISubEntityCR subEntity, ATSceneRefR SceneRef);</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span> </div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SubEntityToCurveSet(CurveSetPtr&amp; curves, ISubEntityCR subEntity);</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span>    };</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span> </div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span>    <span class="keyword">struct </span>Modify</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span>    {</div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span>        <span class="keyword">enum</span> StepFacesOption</div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span>        {</div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span>            ADD_STEP_No = 0,</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno">  477</span>            ADD_STEP_Smooth = 1,</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span>            ADD_STEP_NonCoincident = 2,</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno">  479</span>            ADD_STEP_All = 3,</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno">  480</span>        };</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno">  481</span> </div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno">  482</span>        <span class="keyword">enum class</span> CutDirectionMode</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno">  483</span>        {</div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span>            Forward = 0,</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span>            Backward = 1,</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span>            Both = 2,</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno">  487</span>        };</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno">  488</span> </div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span>        <span class="keyword">enum class</span> CutDepthMode</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno">  490</span>        {</div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno">  491</span>            All = 0,</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno">  492</span>            Blind = 1,</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span>        };</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span> </div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno">  495</span>        <span class="keyword">enum class</span> ChamferMode</div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno">  496</span>        {</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno">  497</span>            Ranges = 0,</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno">  498</span>            Length = 1,</div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno">  499</span>            Distances = 2,</div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno">  500</span>            DistanceAngle = 3,</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno">  501</span>            AngleDistance = 4,</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno">  502</span>        };</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno">  503</span> </div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus BooleanIntersect(ISolidCoreEntityPtr&amp; target, ISolidCoreEntityPtr* tools, <span class="keywordtype">size_t</span> nTools);</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno">  517</span> </div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno">  530</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus BooleanSubtract(ISolidCoreEntityPtr&amp; target, ISolidCoreEntityPtr* tools, <span class="keywordtype">size_t</span> nTools);</div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno">  531</span> </div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno">  544</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus BooleanUnion(ISolidCoreEntityPtr&amp; target, ISolidCoreEntityPtr* tools, <span class="keywordtype">size_t</span> nTools);</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span> </div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno">  563</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus BooleanCut(ISolidCoreEntityPtr&amp; target, CurveSetCR planarTool, CutDirectionMode directionMode, CutDepthMode depthMode, <span class="keywordtype">double</span> distance, <span class="keywordtype">bool</span> invert, XVec3dCP defaultNormal, UInt32 nodeId);</div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno">  564</span> </div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno">  577</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus Emboss(ISolidCoreEntityPtr&amp; target, ISolidCoreEntityCR tool, <span class="keywordtype">bool</span> reverseDirection);</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno">  578</span> </div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno">  590</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SweepEntity(ISolidCoreEntityPtr&amp; target, XVec3dCR path);</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno">  591</span> </div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SpinEntity(ISolidCoreEntityPtr&amp; target, XRay3dCR axis, <span class="keywordtype">double</span> angle);</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno">  605</span> </div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno">  618</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus ThickenSheet(ISolidCoreEntityPtr&amp; target, <span class="keywordtype">double</span> frontDist, <span class="keywordtype">double</span> backDist);</div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno">  619</span> </div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno">  635</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SewEntitys(xvector&lt;ISolidCoreEntityPtr&gt;&amp; sewn, xvector&lt;ISolidCoreEntityPtr&gt;&amp; unsewn, ISolidCoreEntityPtr* tools, <span class="keywordtype">size_t</span> nTools, <span class="keywordtype">double</span> gapWidthBound, <span class="keywordtype">size_t</span> nIterations = 1);</div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno">  636</span> </div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno">  648</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus TransformEntity(ISolidCoreEntityPtr&amp; entity, TransformCR transform);</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span> </div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno">  664</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus BlendEdges(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* edges, <span class="keywordtype">double</span>* radii, <span class="keywordtype">size_t</span> nEdges, <span class="keywordtype">bool</span> propagateSmooth = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno">  665</span> </div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno">  682</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus ChamferEdges(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* edges, <span class="keywordtype">double</span>* values1, <span class="keywordtype">double</span>* values2, <span class="keywordtype">size_t</span> nEdges, ChamferMode mode, <span class="keywordtype">bool</span> propagateSmooth = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno">  683</span> </div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno">  699</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus HollowFaces(ISolidCoreEntityPtr&amp; target, <span class="keywordtype">double</span> defaultDist, ISubEntityPtr* faces, <span class="keywordtype">double</span>* distances, <span class="keywordtype">size_t</span> nFaces, StepFacesOption addStep = ADD_STEP_NonCoincident);</div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno">  700</span> </div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno">  715</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus OffsetFaces(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* faces, <span class="keywordtype">double</span>* distances, <span class="keywordtype">size_t</span> nFaces, StepFacesOption addStep = ADD_STEP_NonCoincident);</div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno">  716</span> </div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno">  731</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus TransformFaces(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* faces, TransformCP translations, <span class="keywordtype">size_t</span> nFaces, StepFacesOption addStep = ADD_STEP_NonCoincident);</div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno">  732</span> </div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SweepFaces(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* faces, <span class="keywordtype">size_t</span> nFaces, XVec3dCR path);</div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno">  747</span> </div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno">  762</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus SpinFaces(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* faces, <span class="keywordtype">size_t</span> nFaces, XRay3dCR axis, <span class="keywordtype">double</span> angle);</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno">  763</span> </div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno">  776</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus DeleteFaces(ISolidCoreEntityPtr&amp; target, ISubEntityPtr* faces, <span class="keywordtype">size_t</span> nFaces);</div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno">  777</span> </div>
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno">  791</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus ImprintCurveSetOnBody(ISolidCoreEntityPtr&amp; target, CurveSetCR curveVector, XVec3dCR direction, <span class="keywordtype">bool</span> extendOpenCurvesToEdge = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno">  792</span> </div>
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno">  805</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus ImprintWiresOnFace(ISubEntityPtr&amp; face, xvector&lt;ISolidCoreEntityPtr&gt;&amp; wires, <span class="keywordtype">bool</span> extendToEdge);</div>
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno">  806</span> </div>
<div class="line"><a id="l00817" name="l00817"></a><span class="lineno">  817</span>        ATENTITY_EXP <span class="keyword">static</span> ATECStatus DeleteRedundantTopology(ISolidCoreEntityPtr&amp; target);</div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno">  818</span>    };</div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno">  819</span> </div>
<div class="line"><a id="l00820" name="l00820"></a><span class="lineno">  820</span>    <span class="keyword">struct </span>Debug</div>
<div class="line"><a id="l00821" name="l00821"></a><span class="lineno">  821</span>    {</div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno">  833</span>        ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">void</span> DumpEntity(ISolidCoreEntityCR entity, WCharCP label);</div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno">  834</span> </div>
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno">  846</span>        ATENTITY_EXP <span class="keyword">static</span> <span class="keywordtype">void</span> DumpSubEntity(ISubEntityCR subEntity, WCharCP label);</div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno">  847</span>    };</div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno">  848</span>};</div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno">  849</span> </div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno">  850</span>END_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno">  851</span> </div>
<div class="ttc" id="astruct_entity_utl_html"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html">EntityUtl</a></div><div class="ttdoc">实体工具类</div><div class="ttdef"><b>Definition:</b> ATEntityUtil.h:42</div></div>
<div class="ttc" id="astruct_entity_utl_html_a00df2233cead0827613b09f5f91d8adf"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a00df2233cead0827613b09f5f91d8adf">EntityUtl::RayTestFace</a></div><div class="ttdeci">static ATENTITY_EXP bool RayTestFace(ISubEntityCR subEntity, XRay3dCR boresite, xvector&lt; XPoint3d &gt; &amp;intersectPts, xvector&lt; XPoint2d &gt; &amp;intersectParams)</div><div class="ttdoc">获取射线与面的交点</div></div>
<div class="ttc" id="astruct_entity_utl_html_a0cbbbdb47f0df3ba2257b85bffbeeb0e"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a0cbbbdb47f0df3ba2257b85bffbeeb0e">EntityUtl::IsPointInsideEntity</a></div><div class="ttdeci">static ATENTITY_EXP bool IsPointInsideEntity(ISolidCoreEntityCR entity, XPoint3dCR testPt)</div><div class="ttdoc">查询与体相对位置</div></div>
<div class="ttc" id="astruct_entity_utl_html_a1a72e8d989f4e223b579cf884f385e49"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a1a72e8d989f4e223b579cf884f385e49">EntityUtl::EvaluateEdge</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus EvaluateEdge(ISubEntityCR subEntity, XPoint3dR point, XVec3dR uDir, double uParam)</div><div class="ttdoc">计算边</div></div>
<div class="ttc" id="astruct_entity_utl_html_a2cefd334f812e31a46b937cd3808ff43"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a2cefd334f812e31a46b937cd3808ff43">EntityUtl::EvaluateVertex</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus EvaluateVertex(ISubEntityCR subEntity, XPoint3dR point)</div><div class="ttdoc">计算点</div></div>
<div class="ttc" id="astruct_entity_utl_html_a3233c8b77f0f7af85916345a892a0901"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a3233c8b77f0f7af85916345a892a0901">EntityUtl::GetFaceEdges</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetFaceEdges(xvector&lt; ISubEntityPtr &gt; &amp;subEntities, ISubEntityCR subEntity)</div><div class="ttdoc">获取面的边</div></div>
<div class="ttc" id="astruct_entity_utl_html_a40e915da5a598e0814b5f901bff8090f"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a40e915da5a598e0814b5f901bff8090f">EntityUtl::GetVertexFaces</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetVertexFaces(xvector&lt; ISubEntityPtr &gt; &amp;subEntities, ISubEntityCR subEntity)</div><div class="ttdoc">获取点的面</div></div>
<div class="ttc" id="astruct_entity_utl_html_a47b922f98bd60e9d808835be7fc71b66"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a47b922f98bd60e9d808835be7fc71b66">EntityUtl::EvaluateFace</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus EvaluateFace(ISubEntityCR subEntity, XPoint3dR point, XVec3dR normal, XVec3dR uDir, XVec3dR vDir, XPoint2dCR uvParam)</div><div class="ttdoc">计算面</div></div>
<div class="ttc" id="astruct_entity_utl_html_a4b479f64ddd61a4e90b6398923313feb"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a4b479f64ddd61a4e90b6398923313feb">EntityUtl::CopyEntity</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus CopyEntity(ISolidCoreEntityPtr &amp;out, ISolidCoreEntityCR in)</div><div class="ttdoc">复制体</div></div>
<div class="ttc" id="astruct_entity_utl_html_a504dc86e17dde14bec63d1df7852368d"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a504dc86e17dde14bec63d1df7852368d">EntityUtl::GetEntityFaces</a></div><div class="ttdeci">static ATENTITY_EXP size_t GetEntityFaces(xvector&lt; ISubEntityPtr &gt; *subEntities, ISolidCoreEntityCR in)</div><div class="ttdoc">获取实体的面</div></div>
<div class="ttc" id="astruct_entity_utl_html_a60466b875b76e83f5c628601f64015b6"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a60466b875b76e83f5c628601f64015b6">EntityUtl::GetEntityEdges</a></div><div class="ttdeci">static ATENTITY_EXP size_t GetEntityEdges(xvector&lt; ISubEntityPtr &gt; *subEntities, ISolidCoreEntityCR in)</div><div class="ttdoc">获取实体的边</div></div>
<div class="ttc" id="astruct_entity_utl_html_a6cd3bbfe9ee20d2386811d1ce48e10fc"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a6cd3bbfe9ee20d2386811d1ce48e10fc">EntityUtl::GetFaceVertices</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetFaceVertices(xvector&lt; ISubEntityPtr &gt; &amp;subEntities, ISubEntityCR subEntity)</div><div class="ttdoc">获取面的点</div></div>
<div class="ttc" id="astruct_entity_utl_html_a81dc927623130b345708667f2efd9a38"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a81dc927623130b345708667f2efd9a38">EntityUtl::GetEdgeVertices</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetEdgeVertices(xvector&lt; ISubEntityPtr &gt; &amp;subEntities, ISubEntityCR subEntity)</div><div class="ttdoc">获取边的点</div></div>
<div class="ttc" id="astruct_entity_utl_html_a8d16ac1ee690eb611dd735f7b95e5d2e"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#a8d16ac1ee690eb611dd735f7b95e5d2e">EntityUtl::GetPlanarFaceData</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetPlanarFaceData(XPoint3dP point, XVec3dP normal, ISubEntityCR subEntity)</div><div class="ttdoc">计算面中心</div></div>
<div class="ttc" id="astruct_entity_utl_html_aa2168d35520dc0e6178e2f2ad7b7b745"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#aa2168d35520dc0e6178e2f2ad7b7b745">EntityUtl::Locate</a></div><div class="ttdeci">static ATENTITY_EXP bool Locate(ISolidCoreEntityCR entity, XRay3dCR boresite, xvector&lt; ISubEntityPtr &gt; &amp;intersectEntities, xvector&lt; XPoint3d &gt; &amp;intersectPts, xvector&lt; XPoint2d &gt; &amp;intersectParams, size_t maxFace, size_t maxEdge, size_t maxVertex, double maxDist)</div><div class="ttdoc">根据射线查找子实体</div></div>
<div class="ttc" id="astruct_entity_utl_html_aaea4816a552706d08fe1a06f25a57b75"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#aaea4816a552706d08fe1a06f25a57b75">EntityUtl::GetEdgeFaces</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetEdgeFaces(xvector&lt; ISubEntityPtr &gt; &amp;subEntities, ISubEntityCR subEntity)</div><div class="ttdoc">获取边的面</div></div>
<div class="ttc" id="astruct_entity_utl_html_abed9d09f9989e50d33bd8eb741bd9905"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#abed9d09f9989e50d33bd8eb741bd9905">EntityUtl::GetVertexEdges</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus GetVertexEdges(xvector&lt; ISubEntityPtr &gt; &amp;subEntities, ISubEntityCR subEntity)</div><div class="ttdoc">获取点的面</div></div>
<div class="ttc" id="astruct_entity_utl_html_ad2a2899f4c5c57919cf35582bdc897bd"><div class="ttname"><a href="../../d7/ddd/struct_entity_utl.html#ad2a2899f4c5c57919cf35582bdc897bd">EntityUtl::GetEntityVertices</a></div><div class="ttdeci">static ATENTITY_EXP size_t GetEntityVertices(xvector&lt; ISubEntityPtr &gt; *subEntities, ISolidCoreEntityCR in)</div><div class="ttdoc">获取实体的顶点</div></div>
<div class="ttc" id="astruct_p_entity_utl_html"><div class="ttname"><a href="../../de/d43/struct_p_entity_utl.html">PEntityUtl</a></div><div class="ttdoc">P实体工具类</div><div class="ttdef"><b>Definition:</b> ATEntityUtil.h:20</div></div>
<div class="ttc" id="astruct_p_entity_utl_html_a036d99bf9a2d702fefee78af0eb64582"><div class="ttname"><a href="../../de/d43/struct_p_entity_utl.html#a036d99bf9a2d702fefee78af0eb64582">PEntityUtl::EntityToCurveSets</a></div><div class="ttdeci">static ATENTITY_EXP ATECStatus EntityToCurveSets(xvector&lt; CurveSetPtr &gt; &amp;curves, ISolidCoreEntityCR entity, EdgeToCurveIdMap const *idMap=NULL)</div><div class="ttdoc">体转曲线数组</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
